package net.lengwang.iot.middleware.sensor;

public enum SensorType {
    Invalid(0x00),             // 无效的设备类型
    M1(0x51),                  // M1：CC1310+W25Q16CL+SHT30
    SG2CC1310(0x52),           // SG2:CC1310+W25Q16CL+ADP5062+MSP430F5529+W25Q16CL+Air200
    S1P(0x53),                 // S1+：CC1310+PM25LQ020+SHT20
    USB0(0x54),                // USB0: MSP430F5529+CC1101
    GM(0x55),                  // GM:CC1310+W25Q16CL
    USB1(0x56),                // USB1: MSP430F5529+CC1310
    M2(0x57),                  // M2:CC1310+W25Q16CL+Buzzer+段码屏+MAX31855
    SK(0x58),                  // SK:CC1310+W25Q16CL+HLW8012
    AlertMSP432(0x59),         // Alert: MSP432P401R+MSP430F5510+CC1310+W25Q256FV+LCD+Buzzer
    S1(0x5A),                  // S1: MSP430F5510+CC1101+SHT20+PM25LD020
    SGA3(0x5B),                // SGA3: MSP432P401R
    M1_NTC(0x5C),              // M1_NTC: CC1310+W25Q16CL+NTC3950
    M1_Beetech(0x5D),          // M1_Beetech:CC1310+W25Q16CL+SHT30+CP2102
    AlertCC1310(0x5E),         // Alert(CC1310)
    SG5CC1310(0x5F),           // SG5(CC1310):MSP432+CC1310+W25Q256FV+LCD+M26+泰斗+CP2102
    SG5MSP432(0x60),           // SG5(MSP432):MSP432+CC1310+W25Q256FV+LCD+M26+泰斗+CP2102
    SC(0x61),                  // SC: MSP430F5529+ADG712
    TB2(0x62),                 // TB2: CC1310+CMT2300A
    USB2(0x63),                // USB2: CC1310+CP2102
    BB(0x64),                  // BB: MSP430F5529+CC1101+SIM800A(+SIM28)
    SG5CC1310SHT30(0x65),      // SG5_CC1310_SHT30
    SG5CC1310NTC(0x66),        // SG5_CC1310_NTC
    SG5CC1310PT100(0x67),      // SG5_CC1310_PT100
    SG6MSP432(0x68),           // SG6(MSP432):MSP432+CC1310+W25Q256FV+LCD+SIM7600CE+CP2102
    SG6CC1310(0x69),           // SG6(CC1310):MSP432+CC1310+W25Q256FV+LCD+SIM7600CE+CP2102
    SG6PMSP432(0x6A),          // SG6P(MSP432):MSP432+CC1310(PA)+W25Q256FV+LCD+SIM7600CE+CP2102+CC2640+ADXL362
    SG6PCC1310(0x6B),          // SG6P(CC1310):MSP432+CC1310(PA)+W25Q256FV+LCD+SIM7600CE+CP2102+CC2640+ADXL362
    SG6PCC2640(0x6C),          // SG6P(CC2640):MSP432+CC1310(PA)+W25Q256FV+LCD+SIM7600CE+CP2102+CC2640+ADXL362
    M6(0x6D),                  // M6:CC1310(PA)+W25Q16CL+SHT30+MCP144+段码屏
    M2_PT100(0x6E),            // M2:CC1310+W25Q16CL+Buzzer+段码屏+ADS1220+PT100
    M2_SHT30(0x6F),            // M2:CC1310+W25Q16CL+Buzzer+段码屏+SHT30
    PM(0x70),                  // PM: CC1310+SKY66115
    LBGZ_TC04MSP432(0x71),     // LBGZ_TC04(MSP432):MSP432+CC1310(PA)+W25Q256FV+LCD+SIM7600CE+CP2102
    LBGZ_TC04CC1310(0x72),     // LBGZ_TC04(CC1310):MSP432+CC1310(PA)+W25Q256FV+LCD+SIM7600CE+CP2102
    SG6XMSP432(0x73),          // SG6X(MSP432):MSP432+CC1310(PA)+CC1101+W25Q256FV+LCD+SIM7600CE+CP2102+CC2640+ADXL362
    SG6XCC1310(0x74),          // SG6X(CC1310):MSP432+CC1310(PA)+CC1101+W25Q256FV+LCD+SIM7600CE+CP2102+CC2640+ADXL362
    SG6XCC2640(0x75),          // SG6X(CC2640):MSP432+CC1310(PA)+CC1101+W25Q256FV+LCD+SIM7600CE+CP2102+CC2640+ADXL362
    S2(0x76),                  // S2: MSP430F5529+CC1101+PM25LD020+MAX31855
    M9(0x77),                  // M9: CC1310+W25Q16CL+ADXL362
    ACO2(0x78),                // ACO2:CC1310+SHT30+MinIR-C02+W25Q16CL
    M30(0x79),                 // M30:MSP432+CC1310+W25Q256FV+LCD+CP2102
    AO2(0x7A),                 // AO2:CC1310+W25Q16CL+SHT30+LMP91000+02
    RT(0x7B),                  // RT:CC1352P+W25Q16CL+TPL5010
    GMP(0x7C),                 // GMP:CC1352P+GD25VQ32C+TPL5010，支持蓝牙
    ZQM1(0x7D),                // ZQM1:CC1310+GD25VQ32C+SHT30
    M5(0x7E),                  // M5:CC1310+GD25VQ32C+HP303S(BMP280) 
    M40(0x7F),                 // （门磁）M40: CC1310+GD25VQ32C+干簧管
    M20(0x80),                 // M20:M20+3SHT30
    M1X(0x81),                 // M1X: CC1310+W25Q16CL+SHT30+TPL5010
    ZQSG1CC1352P(0x82),        // ZQSG1(CC1352P)
    ZQSG1MSP432(0x83),         // ZQSG1(MSP432)
    M10(0x84),                 // M10
    L1(0x85),                  // L1(光照传感器)
    ESK(0x8A),                 // 爱立信，ESK
    IR20(0x8B),                // IR20
    M44MSP432(0x8C),           // M44(MSP432)
    M44CC1352P(0x8D),          // M44(CC1352P)
    WP(0x8E),                  // WP            
    AC2(0x8F),                 // AC2，生物安全柜，485接口，modbus协议
    CO2_INCUBATOR(0x90),       // CO2培养箱，485接口，modbus协议，CO2数据
    O2_INCUBATOR(0x91),        // CO2培养箱，485接口，modbus协议，O2数据
    C1(0x92),                  // C1，爱立信螺丝刀电流测量
    SG10(0x93),                // SG10
    ZQSG6M(0x94),              // ZQSG6M
    M24(0x95),                 // M24
    M24_485_CO2(0x96),         // M24-485-CO2培养箱：CO2数据包
    M24_485_O2(0x97),          // M24-485-CO2培养箱：O2数据包
    M24_485_AC2(0x98),         // M24-485-AC2培养箱：
    M26_485_TEC3000(0x99),     // M26_485_TEC3000
    SG6E(0x9A),                // SG6E(M44+W5500)
    RT_MSP432(0x9B),           // RT(MSP432)
    M24_CSF11(0x9C),           // M24_CSF11(土壤水分)
    EK(0x9D),                  // 电子锁
    EK_SHT30(0x9E),            // 电子锁的外接传感器
    M60(0x9F),                 // M60: 博容 4G 蓝牙版本
    M70(0xA0),                 // M70：博容 CC1310版本
    M60_SHT30(0xA1),           //
    M60_MAX31855(0xA2),        //
    M70_SHT30(0xA3),           //
    M70_MAX31855(0xA4),        //
    S1P_Find(0xA5),            // S1+ 找货神器
    SG9(0xA6),                 // SG9 野保网关
    SG6Lite(0xA7),             // SG6Lite
    Beetech_M20(0xA8),         // Beetech M20
    M1000(0xA9),               // M1000
    WPB(0xAA),                 // 
    IR40(0xAB),                // 
    TW(0xAC),                  // 
    TM(0xAD),                  // 智慧瓶塞
    M2000(0xAE),               // 
    SG6A(0xAF),                // 
    Beetech_M2000(0xB0),       // 
    M4000(0xB1),               // 
    SG6EL(0xB2),               // 
    SG9E(0xB3),                // 
    WPB_4G_CC1352P(0xB4),      // 
    M70P(0xB5),                // 
    M2000S(0xB6),              // M2000S
    M2H(0xB7),                 // M2H， 水浸传感器
    WPB_4G_CC1310(0xB8),       // 
    MD(0xB9),                  // 
    M70P_SHT30(0xBA),          // 
    M70P_PT100(0xBB),          // 
    M70P_485(0xBC),            //
    M200(0xBD),                //
    M70P_PT1000(0xBE),         //
    M70P_HC2A(0xBF),           // 罗卓尼克温湿度传感器
    MCO2(0xC0);                // 

    private final int code;

    SensorType(int code) {
        this.code = code;
    }

    public int getCode() {
        return code;
    }
}
